package spring.chobo;

import java.sql.Connection;
import java.sql.DriverManager;

public class HouseConn implements ConnectionMaker{
	public Connection makeConnection() throws Exception{
		String driver="oracle.jdbc.driver.OracleDriver";
		String url="jdbc:oracle:thin:@localhost:1521:orcl";
		String sysid="scott", syspass="TIGER";
		Class.forName(driver);
		Connection conn=DriverManager.getConnection(url,sysid,syspass);

		return conn;
	}
}
